package com.example.demo.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import javax.persistence.Entity;
import javax.persistence.ManyToMany;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.Transient;

import org.springframework.format.annotation.DateTimeFormat;

import com.example.demo.custom.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
/**
 * 线索录入
 * @author 吕佳辉
 *
 */
@Entity
public class ThreadInput extends BaseEntity<Integer> {

	private String name;//接洽人员
	private String customerName;//客户名称
	private SysUser userId;//员工id
	
	
	@ManyToOne
	public SysUser getUserId() {
		return userId;
	}
	public void setUserId(SysUser userId) {
		this.userId = userId;
	}
	
	
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCustomerName() {
		return customerName;
	}
	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}
	
}
